package com.chapter10.abstract_;

public class abstract_class {
    public static void main(String[] args) {

    }
}

abstract class animal {
    private String name;

    public animal(String name) {
        this.name = name;
    }

    public abstract void eat();

}







